package com.jwt.demo.db.mapper;

import com.jwt.demo.db.bean.UserLogin;
import com.jwt.demo.db.bean.UserLoginExample;
import com.jwt.demo.model.UserLoginModel;

import java.util.List;

public interface UserLoginMapper {
    /**
     * @mbg.generated generated automatically, do not modify!
     */
    long countByExample(UserLoginExample example);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int deleteByPrimaryKey(Long id);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int insert(UserLogin row);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int insertSelective(UserLogin row);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    List<UserLogin> selectByExample(UserLoginExample example);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    UserLogin selectByPrimaryKey(Long id);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int updateByPrimaryKeySelective(UserLogin row);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int updateByPrimaryKey(UserLogin row);


    UserLogin selectUserLoginByNumber(Long number);

    UserLogin selectUserLogin(UserLogin userLogin);

    List<UserLoginModel> selectUserLoginModel(Long userId);
}